package com.huhu.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;

/**
 * 仅用于测试spring的文件配置关联
 */
@Controller
@RequestMapping("/test")
public class TestController {

    @RequestMapping(value = "/{s}",method = RequestMethod.GET)
    @ResponseBody
    public String test1(@PathVariable("s")String s){
        return "hello "+s+"!";
    }

}
